package com.kkwrite.regimen.provider.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 地址 DO
 *
 * @author Soosky Wang
 * @date 2018年7月21日 上午11:03:24
 * @version 1.0.0
 */
@Entity
@Table(name = "reg_address")
@Setter
@Getter
@ToString(callSuper = true)
public class RegAddressDO extends BaseDO {

	private static final long serialVersionUID = 4225384280493260497L;
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	private Long addressId;
	@Column
	private String addressLabels;
	@Column
	private String provinceId;
	@Column
	private String cityId;
	@Column
	private String countyId;
	@Column
	private String townId;
	@Column
	private String villageId;
	@Column
	private String zipCode;
	@Column
	private String fullAddress;
	@Column
	private String phoneNum;
	@Column
	private Short selected;

}
